NotificationListener

interface NotificationListener

A listener for start and cancellation of the notification.

Functions

onNotificationCancelled
Link copied to clipboard
abstract fun onNotificationCancelled(notificationId: Int)
Called after the notification has been cancelled.
onNotificationStarted
Link copied to clipboard
abstract fun onNotificationStarted(notificationId: Int, notification: Notification)
Called after the notification has been started.